package com.assignwork.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.time.LocalDateTime;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * JobConfigVO
 */
@Data
@ApiModel(value = "JobConfigVO对象", description = "作业配置")
public class JobConfigVO {

    /** 主键id;主键id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    private Long id;
    
    /** 创建时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    
    /** 更新时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    
    /** 作业节点类型 */
    @ApiModelProperty(value = "作业节点类型")
    private String workNodeTypeKey;
    
    /** 作业对组ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业对组ID")
    private Long workGroupId;
    
    /** 作业数量 */
    @ApiModelProperty(value = "作业数量")
    private Integer workNumber;

    private String workGroupName;
    
    /** 作业线ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业线ID")
    private Long lineId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long planId;
    
    /** 是否为实际 */
    @ApiModelProperty(value = "是否为实际")
    private Integer isReal;
    
}